package com.yamvc.net.media.events
{
	import flash.events.Event;

	public class WowzaConnectorEvent extends Event
	{
		
		public static const CONNECT:String="wowzaConnectSuccessEvent";
		public static const CONNECTION_CLOSED:String="wowzaConnectClosedEvent";
		public static const REJECT:String="wowzaRejectConnectionEvent";
		public static const FAILED:String="wowzaFailedConnectionEvent";
		
		private var _message:String;
		public function get message():String{
			return _message;
		}
		
		
		public function WowzaConnectorEvent(type:String,message:String="")
		{
			super(type,true,true)
			_message = message;
		}
		
		public override function clone():Event{
			return new WowzaConnectorEvent(type,_message);
		}
		
	}
}